package com.mmall.common;

/**
 * Created by xinxuchu on 2018/10/13.
 */
public class Const {

    public static final String CURRENT_USER = "currentU user";


    public static final String EMAIL = "email";
    public static final String USERNAME = "username";


    //这里原本打算使用枚举类的，但是显得过于繁重
    //这里采用内部接口类这个小技巧
    public interface Role{
        int ROLE_CUSTOMER = 0;//普通用户
        int ROLE_ADMIN = 1;//管理员
    }


}
